package chapter06.e27;
interface Inter<T>{
   public abstract void show(T t);
}
class InterImpl implements Inter<String>{
    // @Override表示下面方法是重写方法
     @Override
    public void show(String s){
         System.out.println(s);
    }
}
public class E27 {
    public static void main(String[] args) {
Inter inter =  new InterImpl();
inter.show("Hello");
inter.show(1);
    }
}
